package com.teamide.param;

import java.util.List;
import java.util.Map;

/**
 * SQL执行的参数载体，这里的SQL可以使用“:name”作为占位符，在param中填写相应的名称的key值
 * 
 * @author ZhuLiang
 *
 */
public class SqlParam {

	public SqlParam(String sql, Map<String, Object> param) {

		this.param = param;
		this.sql = sql;
	}

	private final String sql;

	private final Map<String, Object> param;

	private List<Object> keyValues;

	public List<Object> getKeyValues() {
		return keyValues;
	}

	public void setKeyValues(List<Object> keyValues) {
		this.keyValues = keyValues;
	}

	public String getSql() {

		return sql;
	}

	public Map<String, Object> getParam() {

		return param;
	}

}
